<html  xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>Should say PASS:</p>
<div id="test"></div>
<script><![CDATA[
if (window.testRunner)
    testRunner.dumpAsText();

var tagString = "document.getElementById('test').innerHTML='<p>PASS</p>';";
var e= document.createElement('script');
document.body.appendChild(e);

e.innerHTML = tagString;
]]>
</script>
</body>
</html>
